package com.hw.model.dto.doctor;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * @author lipeng
 * @description 医生授权dto
 * @date 2023/3/9 14:03
 */
@Data
public class DoctorAuthDTO {

    /**
     * 修改id
     */
    @NotNull(message = "Doctor ID cannot be empty")
    private Long id;

    /**
     * 授权手机号/取消授权的手机号
     */
    private String auth;

    /**
     * 医生名称
     */
    @NotEmpty(message = "邀请医生名称不能为空")
    private String doctorName;

}
